<?php

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Controller;

class Config extends Controller
{
    //
    public function index($tab)
    {
        $tab_arr = [
            'main' => '全局设置',
            'upload' => '上传设置',
        ];

        $title = $tab_arr[$tab];
        return view('admin.config.index', ['title'=> $title, 'tab'=> $tab]);
    }
}
